package com.zhh.pojo;



import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 物资使用表实体
 */
@Entity
@Table
public class TbFacilityLease extends BaseEntity {

    @Id
    private String id;
    private long userId;
    private String orderId;
    private Integer facilityId;
    private String remark;
    private Integer state;
    private Date storageTime;
    private Date returnTime;

    @Override
    public String toString() {
        return "TbFacilityLease{" +
                "id='" + id + '\'' +
                ", userId=" + userId +
                ", orderId='" + orderId + '\'' +
                ", facilityId=" + facilityId +
                ", remark='" + remark + '\'' +
                ", state=" + state +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getFacilityId() {
        return facilityId;
    }

    public void setFacilityId(Integer facilityId) {
        this.facilityId = facilityId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getStorageTime() {
        return storageTime;
    }

    public void setStorageTime(Date storageTime) {
        this.storageTime = storageTime;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }
}
